package lyl.link;

public class Main {

    public static void main(String[] args) {
        MyOneWayLinkList list = new MyOneWayLinkList();
        for(int i =1 ;i<=7;i++){
            list.add(i);
        }
        list.print();
        list.reverseLinkedList(1,7);
        list.print();
    }
}
